package com.ucampus.dao;

import com.ucampus.entity.welcome;
import org.apache.ibatis.annotations.*;

import java.util.List;
@Mapper
public interface welcomeMapper {
    // 获取所有信息
    @Select("SELECT * FROM welcome")
    List<welcome> getAllInformation();

    // 根据 mission 查找对应的 process
    @Select("SELECT process FROM welcome WHERE mission = #{mission}")
    List<String> getProcessByMission(@Param("mission") String mission);

}
